package tt.com.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tt.com.common.annotation.IsNull;

/**
 * 火化炉类型,火化时间(不为空)
    * 逝者火化表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "yx_funeral_cremate")
public class Cremate {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 逝者id
     */
    @TableField(value = "dead_id")
    private String deadId;

    /**
     * 火化炉类型
     */
    @IsNull
    @TableField(value = "stove_type")
    private Integer stoveType;

    /**
     * 火化炉子id
     */
    @TableField(value = "cremate_stove_id")
    private String cremateStoveId;

    /**
     * 遗体类别
     */
    @TableField(value = "remains_category")
    private String remainsCategory;

    /**
     * 火化时间
     */
    @IsNull
    @TableField(value = "cremate_time")
    private Date cremateTime;

    /**
     * 火化完成时间
     */
    @TableField(value = "finish_time")
    private Date finishTime;

    /**
     * 火化费用
     */
    @TableField(value = "cremate_price")
    private BigDecimal crematePrice;

    /**
     * 火化办理状态
     */
    @TableField(value = "cremate_status")
    private Integer cremateStatus;

    /**
     * 取灰状态
     */
    @TableField(value = "get_ash_status")
    private Integer getAshStatus;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id")
    private String createUserId;

    /**
     * 最后修改时间
     */
    @TableField(value = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 最后修改人
     */
    @TableField(value = "last_update_user_id")
    private String lastUpdateUserId;

    /**
     * 删除时间
     */
    @TableField(value = "delete_time")
    private Date deleteTime;

    /**
     * 删除人
     */
    @TableField(value = "delete_user_id")
    private String deleteUserId;

    /**
     * 删除状态(0删除 1正常)
     */
    @TableField(value = "data_status")
    private Integer dataStatus;

    /**
     * 组织id
     */
    @TableField(value = "organ_id")
    private String organId;

    public static final String COL_ID = "id";

    public static final String COL_DEAD_ID = "dead_id";

    public static final String COL_STOVE_TYPE = "stove_type";

    public static final String COL_CREMATE_STOVE_ID = "cremate_stove_id";

    public static final String COL_REMAINS_CATEGORY = "remains_category";

    public static final String COL_CREMATE_TIME = "cremate_time";

    public static final String COL_FINISH_TIME = "finish_time";

    public static final String COL_CREMATE_PRICE = "cremate_price";

    public static final String COL_CREMATE_STATUS = "cremate_status";

    public static final String COL_GET_ASH_STATUS = "get_ash_status";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_CREATE_USER_ID = "create_user_id";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_LAST_UPDATE_USER_ID = "last_update_user_id";

    public static final String COL_DELETE_TIME = "delete_time";

    public static final String COL_DELETE_USER_ID = "delete_user_id";

    public static final String COL_DATA_STATUS = "data_status";

    public static final String COL_ORGAN_ID = "organ_id";
}